package com.fh.shop.api.book.biz;

import com.fh.shop.api.book.param.BookQueryParam;
import com.fh.shop.api.common.DataTableResult;
import com.fh.shop.util.ServerResponse;
import com.fh.shop.api.book.po.Book;

public interface IBookService {
    ServerResponse addBook(Book book);

    ServerResponse findBookList();

    ServerResponse deleteBook(Long id);

    ServerResponse deleteBatch(String ids);

    ServerResponse updateBook(Book book);

    ServerResponse findBook(Long id);

    DataTableResult findList(BookQueryParam bookQueryParam);
}
